// pages/cardInfo/cardInfo.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    dateTime: ["2018-12-27", "2018-08-13", "2019-05-03"],
    dists: 0
  },
  tapclick(e) {
    let { items } = e.target.dataset
    this.setData({
      dists: items
    })
  }
})